<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Proyecto de Matemática Discreta 2 - Parte II: DINIC: Fichero Fuente copia/network/node.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="UNCBL.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Proyecto de Matemática Discreta 2 - Parte II: DINIC</div>
   <div id="projectbrief">Cálculo de flujo maximal sobre un network aplicando el algoritmo de Dinic</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
      <li><a href="annotated.html"><span>Estructuras&#160;de&#160;Datos</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;de&#160;archivos</span></a></li>
      <li><a href="globals.html"><span>Globales</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('copia_2network_2node_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">copia/network/node.h</div>  </div>
</div>
<div class="contents">
<a href="copia_2network_2node_8h.html">Ir a la documentación de este archivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef NODE_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define NODE_H</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;stdbool.h&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;../glib/glist.h&quot;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a><a class="code" href="copia_2network_2node_8h.html#aca9ddc66bd280c2e09a0ddf6b9bbe237">00011</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_node.html">sNode</a> *<a class="code" href="copia_2dinic__dfs_8c.html#a161ca9da7c62a4eef786c5c1bfa700d4">node</a>;
<a name="l00012"></a>00012 
<a name="l00018"></a>00018 node <a class="code" href="copia_2network_2node_8c.html#ac4b8685c982ed91f6d0d8f6f31c39b4e">node_create</a>(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2dinic__dfs_8c.html#a87153e55cbe7ac23707bcb05e4b6dc5a">label</a>);
<a name="l00019"></a>00019 
<a name="l00025"></a>00025 node <a class="code" href="copia_2network_2node_8c.html#a162ecc625ac579738471c7365b43e29e">node_destroy</a>(node n);
<a name="l00026"></a>00026 
<a name="l00035"></a>00035 <span class="keywordtype">bool</span> <a class="code" href="copia_2network_2node_8c.html#a0ea697196b61a82e6612be090cb3d8f4">node_addNeighbor</a>(node n1, <span class="keyword">const</span> node n2, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cap); 
<a name="l00036"></a>00036 
<a name="l00044"></a>00044 <span class="keywordtype">bool</span> <a class="code" href="copia_2network_2node_8c.html#a096d9cb431b7ba3a8cc297036c09a469">node_addBackwardNeighbor</a>(node n1, <span class="keyword">const</span> node n2, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flow,
<a name="l00045"></a>00045                                                     <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cap);
<a name="l00046"></a>00046 
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="copia_2network_2node_8c.html#a8ed6c60edcde0977e51ee497d3d16699">node_delBackwardNeighbor</a>(node n1, <span class="keyword">const</span> node n2);
<a name="l00054"></a>00054 
<a name="l00060"></a>00060 <a class="code" href="copia_2glib_2glist_8h.html#a840db0c80fb4e0a1fc6dfc0c18450da2">GList</a> *<a class="code" href="copia_2network_2node_8c.html#afdf58d7b6ca7784e54121feac19ecfd5">node_getNeighbors</a>(<span class="keyword">const</span> node n);
<a name="l00061"></a>00061 
<a name="l00067"></a>00067 <a class="code" href="copia_2glib_2glist_8h.html#a840db0c80fb4e0a1fc6dfc0c18450da2">GList</a> *<a class="code" href="copia_2network_2node_8c.html#a4c96e24fb87abe6b6b27f3155ec7664c">node_getBackwardNeighbors</a>(<span class="keyword">const</span> node n);
<a name="l00068"></a>00068 
<a name="l00075"></a>00075 <span class="keywordtype">bool</span> <a class="code" href="copia_2network_2node_8c.html#aef1726c62101169b9434e71e63a68644">node_neighborExists</a>(<span class="keyword">const</span> node n, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2dinic__dfs_8c.html#a87153e55cbe7ac23707bcb05e4b6dc5a">label</a>);
<a name="l00076"></a>00076 
<a name="l00082"></a>00082 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2network_2node_8c.html#af003baa15157ecfe42f0998a5ad6a837">node_getLabel</a>(<span class="keyword">const</span> node n);
<a name="l00083"></a>00083 
<a name="l00089"></a>00089 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> *<a class="code" href="copia_2network_2node_8c.html#a24b2e36c77bb325c8bcdb2186035f7e3">node_getLabelAddress</a>(<span class="keyword">const</span> node n);
<a name="l00090"></a>00090 
<a name="l00096"></a>00096 <span class="keywordtype">void</span> <a class="code" href="copia_2network_2node_8c.html#a3a5da05a174ea9e8e8d780cde1a59322">node_setLevel</a>(node n, <span class="keywordtype">int</span> <a class="code" href="structs_node.html#acf4d33ee4cff36f69b924471174dcb11">level</a>);
<a name="l00097"></a>00097 
<a name="l00103"></a>00103 <span class="keywordtype">int</span> <a class="code" href="copia_2network_2node_8c.html#a44b5e43a50314250ef022b9c8af9b34a">node_getLevel</a>(<span class="keyword">const</span> node n);
<a name="l00104"></a>00104 
<a name="l00111"></a>00111 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2network_2node_8c.html#a2bd37154edcf517b841b62bbb1f20a94">node_getEdgeCap</a>(<span class="keyword">const</span> node n, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2dinic__dfs_8c.html#a87153e55cbe7ac23707bcb05e4b6dc5a">label</a>);
<a name="l00112"></a>00112 
<a name="l00119"></a>00119 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2network_2node_8c.html#a9397ae92945a58ed8fe21b28495bc58d">node_getEdgeFlow</a>(<span class="keyword">const</span> node n, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="copia_2dinic__dfs_8c.html#a87153e55cbe7ac23707bcb05e4b6dc5a">label</a>);
<a name="l00120"></a>00120 
<a name="l00121"></a>00121 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="copia_2network_2node_8h.html">node.h</a>      </li>
      <li class="footer">Generado el Lunes, 6 de Junio de 2011 20:03:18 para Proyecto de Matemática Discreta 2 - Parte II: DINIC por&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;typedefs&apos;</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


</body>
</html>
